/**
 * 2017年11月30日
 */
package exp.algorithm.sic.feature;

/**
 * @author Alex
 *
 */
public class LabeledDenseFeatureVector extends DenseFeatureVector implements LabeledFeatureVector{
	double classValue = -1;
	public LabeledDenseFeatureVector(float[] arr,double classValue) {
		super(arr);
		this.classValue = classValue;
	}
	public LabeledDenseFeatureVector(FeatureVector fv,double classValue) {
		super(fv.toFloatArray());
		this.classValue = classValue;
	}
	
	@Override
	public double getClassValue() {
		return this.classValue;
	}

}
